package Day20170928;

public class Test1 {
    public static void main(String[] args) {
        int x=1;
        int y=-2;
        int n=10;
        int m=x+y+(--n)*(x>y&&x>0?(x+1): y);
        System.out.println(m);
    }
}
